New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cosmos DB documents no longer visible #971
Comments
I had the same problem updating to Some other notes:
*Edit: might be a duplicate of #968 |
The JavaScript error which I believe is causing the issue:
|
Thanks for feeback. |
This is happening for me also. Forced to use the document explorer in Azure portal now until the hotfix! |
I'm experiencing the same issue. Tried the suggested fix "./StorageExplorer.exe --disable-gpu" but it made no difference. |
When will be ready the hot fix patch?? |
We will fix this in version |
Temporary hack got this working again for me: //this.subscription = JSON.parse(this.parameters.metadata.subscription); |
Same issue on mac, blank screen when clicking documents. The "hack" from @darrengillis made a temporary fix. |
For anyone facing this issue, we're shipping a hotfix to fix this regression. Until then you can either do the hack as others have suggested, or if you'd like to preview the hotfix simply go to the "Help" menu on Windows and Linux/app menu on macOS ->" Opt in to Insider Builds" We'll still doing some final testing and a few other fixes, but we wanted to at least let people who needed the fixes we have done so far, have them. Thanks! |
I am still experiencing this issue in 1.6.2, specifically seeing the js error that @jkonecki referenced in his comment. I have actually lost a lot of time on this thinking it was a setup issue. Seeing the comment RE the line of code that is parsing subscription metadata. My azure account is connected to multiple Azure subscriptions as it is my company account - just thought I would add that piece of information incase it turns on any lightbulbs. |
After deciding to dig into this a little more I think I have found the source of the issue. This issue only effects Cosmos DB's created with the MongoDB API, as ones created with the SQL API allow Azure Storage Explorer to function correctly. Inside of AzureDocumentDBActions.js there is a hard-coded Array of actions which appear to require a one-to-one mapping to the resourceType - it appears that the code is expecting this resourceType to be MongoDB when it is actually Azure Cosmos DB for MongoDB API see screenshot: I added some code to stop this and managed to get Storage Explorer to correctly show my collections. However, I then also noticed that the correct menu was not being shown when right clicking on my database to create a collection. See screenshot: As you can see the Create Collection option is missing. I believe I have tracked this issue down to the expression builder used to toggle the visibility of the menu option in question. See screenshot: I believe this is also likely related to the original issue (an incorrect resourceType) as modifying the expression to expect the string Azure Cosmos DB for MongoDB API will correctly render the Create Collection menu option. I also noticed that when creating a Cosmos DB account in the Azure Portal the API dropdown has this string as the Mongo option. See screenshot: Hope this helps. Rich |
Great investigation Rich! |
awesome @richmwatts . I'm using the SQLAPI and after the hotfix it works for me again. |
@richmwatts, great work! I don't suppose you'd be interested in contributing if this project were open sourced (#138)? |
@richmwatts, awesome investigation. |
No problem at all guys. Enjoyed it, love problem solving 👍 @craxal As for wanting to contribute, absolutely! |
Fix was merged a few days ago for 1.7.0. |
I still can't seem to see the documents |
@akshaybabloo If you are still having problems, please open a new issue. |
Still not able to see documents with Mongo protocol. I don't think it matters but here is my system info
|
@joedevgee Can you open a new issue, please? This issue has been closed for a while. |
Here's the link to the new issue for MongoDB: #2584 |
Storage Explorer Version: 1.6.0
Platform/OS: Windows
Architecture:
Regression From: Was this working in a previous version? Yes. 1.5.0
Bug description
After installing 1.6.0, when I navigate to my documents and click, the Documents tab is empty.
Steps to Reproduce
List the minimal steps clearly and concisely to reproduce the behavior:
Expected Experience
I expected a tab to open in the right pane with my documents visible.
Actual Experience
Documents tab is opened but there are no documents.
Additional Context
I figure I'm missing a release note somewhere on this. I tried the --disable-gpu but that didn't help.
The text was updated successfully, but these errors were encountered: